import { Routes, RouterModule }  from '@angular/router'
import {GroupComponent} from "./group.component";
import {GroupMemberComponent} from "./group-member/group-member.component";
import {GroupStatComponent} from "./group-stat/group-stat.component";

const routes:Routes = [
  { path: '', component: GroupComponent },
  { path: 'groupmember/:groupId/:groupName', component: GroupMemberComponent },
  { path: 'groupmember/:groupId/:groupName/groupstat', component: GroupStatComponent }
];

export const GroupRoute = RouterModule.forChild(routes);
